package com.lin.repository;

import com.lin.dataobject.Banner;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by Administrator on 2017/9/25.
 */
public interface BannerRepository extends JpaRepository<Banner,Integer> {
    List<Banner> findAllByStatus(Integer status);
}
